package cn.itcast.order.pojo;

import lombok.Data;

/**
 * CREATE DATABASE cloud_user;
    USE cloud_order;
    SET FOREIGN_KEY_CHECKS = 0;
    DROP TABLE IF EXISTS tb_user;
    CREATE TABLE tb_user(
    `id` BIGINT(20) NOT NULL COMMENT '主键',
    `username` VARCHAR(50)COLLATE utf8_bin NOT NULL COMMENT '姓名',
    `address` VARCHAR(200) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '地址',
    PRIMARY KEY (`id`) USING BTREE
    ) ENGINE=INNODB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='用户列表';
    INSERT INTO tb_user (id,username,address) VALUES (1,'柳岩','湖南省衡阳市'),(2,'文二狗','陕西省西安市')
 */
@Data
public class User {
    private Long id;
    private String username;
    private String address;
}